package com.bluse.DesignModel.AbstactFactoryDesignModel;

/**
 * @Describe: TODO
 * @Author: bluse
 * @Date: 2019/2/21 15:07
 **/

public class  Application<T> {


 public static  void main (String [] args) throws ClassNotFoundException{

     AbstractFactory concreateFactory1 = new ConcreateFactory1();
     concreateFactory1.createProductA().wash();
     concreateFactory1.createProductB().use();

     AbstractFactory concreateFactory2 = new ConcreateFactory2();
     concreateFactory2.createProductA().wash();
     concreateFactory2.createProductB().use();

     System.out.println(Class.forName("com.bluse.DesignModel.AbstactFactoryDesignModel.AbstractProductA"));
 }



}
